package com.fire.eyes.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 移保通主题商品表
 * </p>
 *
 * @author raoyuxing123
 * @since 2018-06-01
 */
@TableName("t_mit_theme_goods")
public class TMitThemeGoods extends Model<TMitThemeGoods> {

    private static final long serialVersionUID = 1L;

    /**
     * Goodid+themeid
     */
    private String themegoodsid;
    /**
     * 主题id
     */
    private Integer themeid;
    /**
     * 主题名称
     */
    private String themename;
    /**
     * 创建时间
     */
    private Date createtime;
    /**
     * 更新时间
     */
    private Date updatetime;
    /**
     * 商品编号
     */
    private String goodsid;
    /**
     * 0 下架，2上架，3失效
     */
    private Integer status;
    /**
     * 商品名称
     */
    private String goodstitle;
    /**
     * 图片对应的图片id
     */
    private String imageid;
    /**
     * 0 PC，1 H5
     */
    private Integer platetype;
    /**
     * 图片的链接
     */
    private String imagelinkurl;


    public String getThemegoodsid() {
        return themegoodsid;
    }

    public void setThemegoodsid(String themegoodsid) {
        this.themegoodsid = themegoodsid;
    }

    public Integer getThemeid() {
        return themeid;
    }

    public void setThemeid(Integer themeid) {
        this.themeid = themeid;
    }

    public String getThemename() {
        return themename;
    }

    public void setThemename(String themename) {
        this.themename = themename;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(String goodsid) {
        this.goodsid = goodsid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getGoodstitle() {
        return goodstitle;
    }

    public void setGoodstitle(String goodstitle) {
        this.goodstitle = goodstitle;
    }

    public String getImageid() {
        return imageid;
    }

    public void setImageid(String imageid) {
        this.imageid = imageid;
    }

    public Integer getPlatetype() {
        return platetype;
    }

    public void setPlatetype(Integer platetype) {
        this.platetype = platetype;
    }

    public String getImagelinkurl() {
        return imagelinkurl;
    }

    public void setImagelinkurl(String imagelinkurl) {
        this.imagelinkurl = imagelinkurl;
    }

    @Override
    protected Serializable pkVal() {
        return this.themegoodsid;
    }

    @Override
    public String toString() {
        return "TMitThemeGoods{" +
        "themegoodsid=" + themegoodsid +
        ", themeid=" + themeid +
        ", themename=" + themename +
        ", createtime=" + createtime +
        ", updatetime=" + updatetime +
        ", goodsid=" + goodsid +
        ", status=" + status +
        ", goodstitle=" + goodstitle +
        ", imageid=" + imageid +
        ", platetype=" + platetype +
        ", imagelinkurl=" + imagelinkurl +
        "}";
    }
}
